A Type System that Reconsiles Classes and Extents

نویسندگان

  • Peter Buneman
  • Atsushi Ohori
چکیده

We present a type system that naturally couples two diierent, and apparently contradictory, notions of inheritance that occur in object-oriented databases. To do this we distinguish between the type and a kind of a value. A type describes the entire structure of a value, while a kind describes only the availability of certain elds or methods. This distinction allows us to manipulate heterogeneous collections (collections of values with diiering types) in a statically type-checked language. Moreover, the type system is polymorphic and types may be inferred using an extension of the technique used in ML. This means that it is easy to express general-purpose operations for the manipulation of heterogeneous collections. We believe that this system not only provides a natural approach to static type-checking in object-oriented databases; it also ooers a technique for dealing with external databases in a statically typed language.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Types With Extents: On Transforming and Querying Self-Referential Data-Structures (Dissertation Proposal)

The central theme of this paper is to study the properties and expressive power of data-models which use type systems with extents in order to represent recursive or self-referential data-structures. A standard type system is extended with classes which represent the finite extents of values stored in a database. Such an extended type system expresses constraints about a database instance which...

متن کامل

Relationship Between Political Culture and Social Classes; Case Study, City of Ardabil

    Introduction: One of the factors influencing political development is the orientation of the political system and the political role of the individuals in that society. These political orientations and actions of individuals could be different among social classes. (According to economic and cultural capital) The present study seeks to identify the political culture of social classes. Met...

متن کامل

Relationship Between Political Culture and Social Classes; Case Study, City of Ardabil

    Introduction: One of the factors influencing political development is the orientation of the political system and the political role of the individuals in that society. These political orientations and actions of individuals could be different among social classes. (According to economic and cultural capital) The present study seeks to identify the political culture of social classes. Met...

متن کامل

Types with Extents: On Transforming and Querying Self-Referential Data-Structures (Thesis Proposal)

The central theme of this paper is to study the properties and expressive power of data-models which use type systems with extents in order to represent recursive or selfreferential data-structures. A standard type system is extended with classes which represent the finite extents of values stored in a database. Such an extended type system expresses constraints about a database instance which ...

متن کامل

On the type of conjugacy classes and the set of indices of maximal subgroups

‎Let $G$ be a finite group‎. ‎By $MT(G)=(m_1,cdots,m_k)$ we denote the type of‎ ‎conjugacy classes of maximal subgroups of $G$‎, ‎which implies that $G$ has exactly $k$ conjugacy classes of‎ ‎maximal subgroups and $m_1,ldots,m_k$ are the numbers of conjugates‎ ‎of maximal subgroups of $G$‎, ‎where $m_1leqcdotsleq m_k$‎. ‎In this paper‎, ‎we‎ ‎give some new characterizations of finite groups by ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1991